Skip to content

Avoiding ANR that may occur during login#3192

Merged
mar-v-in merged 4 commits intomicrog:masterfrom
DaVinci9196:fix_login_anr_issue
Mar 30, 2026
Merged

Avoiding ANR that may occur during login#3192
mar-v-in merged 4 commits intomicrog:masterfrom
DaVinci9196:fix_login_anr_issue

Conversation

@DaVinci9196
Copy link
Copy Markdown
Contributor

Some users have reported LoginActivity ANR, which is suspected to be related to this issue.

@mar-v-in
Copy link
Copy Markdown
Member

Task.await() is a non-blocking kotlin coroutine. It shouldn't be able to trigger ANRs. Can you provide more details on the issue you have seen in LoginActivity ANR?

@mar-v-in mar-v-in added this to the 0.3.13 milestone Jan 10, 2026
@mar-v-in
Copy link
Copy Markdown
Member

mar-v-in commented Mar 18, 2026

Can you provide a way to reproduce this issue, so we can confirm this PR fixes it?

@DaVinci9196
Copy link
Copy Markdown
Contributor Author

Can you provide a way to reproduce this issue, so we can confirm this PR fixes it?

No reproducible path has been found, so it's unclear whether it has been fixed. However, multiple tests based on this PR did not detect ANR.

@ale5000-git
Copy link
Copy Markdown
Member

I haven't verified exactly but 5 seconds may be too low for old devices.

@mar-v-in mar-v-in merged commit 87e9f48 into microg:master Mar 30, 2026
2 checks passed
@DaVinci9196 DaVinci9196 deleted the fix_login_anr_issue branch March 31, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants